/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmDaftarSisaTagihanPasien.java
 *
 * Created on Jan 24, 2012, 12:21:26 PM
 */
package SIMRS.Kasir.view;

import usu.widget.Form;

/**
 *
 * @author yunniie
 */
public class frmDaftarSisaTagihanPasien extends Form {

    /** Creates new form frmDaftarSisaTagihanPasien */
    public frmDaftarSisaTagihanPasien() {
        initComponents();
        setIconImage(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Kasir/gambar/icon.png")).getImage());
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlUnder1 = new SIMRS.Kasir.widget.PnlUnder();
        label2 = new SIMRS.Kasir.widget.Label();
        txtTanggalAwal = new SIMRS.Kasir.widget.TextBox();
        label3 = new SIMRS.Kasir.widget.Label();
        txtTanggalAkhir = new SIMRS.Kasir.widget.TextBox();
        scrollPane1 = new SIMRS.Kasir.widget.ScrollPane();
        table1 = new SIMRS.Kasir.widget.Table();
        btEdit = new SIMRS.Kasir.widget.button2();
        btCetak = new SIMRS.Kasir.widget.button2();
        label4 = new SIMRS.Kasir.widget.Label();
        button22 = new SIMRS.Kasir.widget.button2();
        button21 = new SIMRS.Kasir.widget.button2();
        btClose = new SIMRS.Kasir.widget.button2();

        setTitle("Form Daftar Sisa Tagihan Pasien");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_TOP);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_BOTTOM);
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlUnder1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label2.setText("Periode");
        pnlUnder1.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 120, 92, -1));
        pnlUnder1.add(txtTanggalAwal, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 140, 125, -1));

        label3.setText("S/d");
        pnlUnder1.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 140, -1, 21));
        pnlUnder1.add(txtTanggalAkhir, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 140, 115, -1));

        table1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        scrollPane1.setViewportView(table1);

        pnlUnder1.add(scrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 190, 480, 140));

        btEdit.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Kasir/gambar/bt_edit.png"))); // NOI18N
        btEdit.setText("Koreksi Tagihan");
        pnlUnder1.add(btEdit, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 340, -1, -1));

        btCetak.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Kasir/gambar/bt_cetak.png"))); // NOI18N
        btCetak.setText("Cetak");
        pnlUnder1.add(btCetak, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 340, -1, -1));

        label4.setForeground(new java.awt.Color(255, 255, 255));
        label4.setText("Daftar Sisa Tagihan Pasien");
        label4.setFont(new java.awt.Font("Tahoma", 1, 18));
        pnlUnder1.add(label4, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 30, 300, -1));

        button22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Kasir/gambar/bt_search.png"))); // NOI18N
        button22.setText("Cari");
        pnlUnder1.add(button22, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 140, -1, -1));

        button21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Kasir/gambar/bt_bayar.png"))); // NOI18N
        button21.setText("Bayar");
        button21.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                button21ActionPerformed(evt);
            }
        });
        pnlUnder1.add(button21, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 340, -1, -1));

        btClose.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Kasir/gambar/bt_close.png"))); // NOI18N
        btClose.setText("Tutup");
        btClose.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btCloseActionPerformed(evt);
            }
        });
        pnlUnder1.add(btClose, new org.netbeans.lib.awtextra.AbsoluteConstraints(420, 340, -1, -1));

        getContentPane().add(pnlUnder1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 540, 390));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-548)/2, (screenSize.height-422)/2, 548, 422);
    }// </editor-fold>//GEN-END:initComponents

private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
// TODO add your handling code here:
   
}//GEN-LAST:event_formWindowClosing

private void btCloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btCloseActionPerformed
    dispose();
}//GEN-LAST:event_btCloseActionPerformed

    private void button21ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_button21ActionPerformed
        frmDaftarPasienSudahBayar x = new frmDaftarPasienSudahBayar();
        x.show();
        dispose();
    }//GEN-LAST:event_button21ActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.Kasir.widget.button2 btCetak;
    private SIMRS.Kasir.widget.button2 btClose;
    private SIMRS.Kasir.widget.button2 btEdit;
    private SIMRS.Kasir.widget.button2 button21;
    private SIMRS.Kasir.widget.button2 button22;
    private SIMRS.Kasir.widget.Label label2;
    private SIMRS.Kasir.widget.Label label3;
    private SIMRS.Kasir.widget.Label label4;
    private SIMRS.Kasir.widget.PnlUnder pnlUnder1;
    private SIMRS.Kasir.widget.ScrollPane scrollPane1;
    private SIMRS.Kasir.widget.Table table1;
    private SIMRS.Kasir.widget.TextBox txtTanggalAkhir;
    private SIMRS.Kasir.widget.TextBox txtTanggalAwal;
    // End of variables declaration//GEN-END:variables
}
